<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>部门</title>
		<style type="text/css">
img {
	border: 0;
}

.STYLE1 a:link {
	color: #ffffff;
	text-decoration: none;
}

<!--
body {
	margin-left: 3px;
	margin-top: 0px;
	margin-right: 3px;
	margin-bottom: 0px;
}

.STYLE1 {
	color: #e1e2e3;
	font-size: 12px;
}

.STYLE6 {
	color: #000000;
	font-size: 12;
}

.STYLE10 {
	color: #000000;
	font-size: 14px;
}

.STYLE19 {
	color: #344b50;
	font-size: 12px;
}

.STYLE21 {
	font-size: 12px;
	color: #3b6375;
}

.STYLE22 {
	font-size: 12px;
	color: #295568;
}
-->
</style>
		<script type="text/javascript" language="javascript">
function goto(){
	var arg = document.getElementById("page_goto").value;
	if(!checkIsInteger(arg)){
		arg = 1;
	}
	var url = "report_changePage.action?requestPage="+arg+"&map=alarm";
	window.navigate(url);
}
function checkIsInteger(str)   {    
    if(/^(\-?)(\d+)$/.test(str))   
        return true;   
    else  
        return false;   
}
</script>
	</head>

	<body>
		<table width="100%" border="0" align="center" cellpadding="0"
			cellspacing="0">
			<tr>
				<td height="30">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td height="24" bgcolor="#353c44">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
										<td>
											<div align="center">
												<span class="STYLE1"><a
													href="report_department.action">部门</a>&nbsp;&nbsp;&nbsp;<a
													href="report_area.action">区域</a>&nbsp;&nbsp;&nbsp;<a
													href="report_building.action">机楼</a>&nbsp;&nbsp;&nbsp;<a
													href="report_access.action">门禁</a>&nbsp;&nbsp;&nbsp;<a
													href="report_manager.action">管理员</a>&nbsp;&nbsp;&nbsp;<a
													href="report_user.action">员工</a> &nbsp;&nbsp;&nbsp;<a
													href="report_open.action">开门</a>&nbsp;&nbsp;&nbsp;<a
													href="report_alarm.action">告警</a>&nbsp;&nbsp;&nbsp;</span>
											</div>
										</td>
										<td>
											<div align="right">
												<table>
													<s:submit action="report_write" value="导出" />
												</table>
											</div>
										</td>
										<td>
											<div align="left">
												<table>
													<s:submit action="report_print" value="打印" />
												</table>
											</div>
										</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td>
					<table width="100%" border="0" cellpadding="0" cellspacing="1"
						bgcolor="#a8c7ce">
						<tr>
								<td width="25%" height="20" bgcolor="#ffffff" class="STYLE10"
									colspan="12">
									<div align="center">
										<input type="checkbox" name="checkbox" value="area_区域"
											checked="checked">
										区域 &nbsp;&nbsp;&nbsp;
										<input type="checkbox" name="checkbox" value="access_门禁"
											checked="checked">
										门禁 &nbsp;&nbsp;&nbsp;
										<input type="checkbox" name="checkbox"
											value="alarmType_告警类型" checked="checked">
										告警类型 &nbsp;&nbsp;&nbsp;
										<input type="checkbox" name="checkbox" value="alarmTime_告警时间"
											checked="checked">
										告警时间 &nbsp;&nbsp;&nbsp;
										<input type="checkbox" name="checkbox" value="handlerState_处理状态"
											checked="checked">
										处理状态 &nbsp;&nbsp;&nbsp;
										<input type="checkbox" name="checkbox" value="user_工作人员"
											checked="checked">
										工作人员 &nbsp;&nbsp;&nbsp;
										<input type="checkbox" name="checkbox"
											value="manager_管理员" checked="checked">
										管理员 &nbsp;&nbsp;&nbsp;
										<input type="checkbox" name="checkbox" value="handlerTime_处理时间"
											checked="checked">
										处理时间 &nbsp;&nbsp;&nbsp;
										</div>
								</td>
							</tr>
						<tr>
							<td width="10%" height="20" bgcolor="#ffffff" class="STYLE10">
								<div align="center">
									<table>
										<s:select list="adminAreas" label="区域" emptyOption="true"
											name="alarmArea" />
									</table>
								</div>
							</td>
							<td width="10%" height="20" bgcolor="#ffffff" class="STYLE10">
								<div align="center">
									<table>
										<s:textfield name="alarmName" label="门禁" size="10" />
									</table>
								</div>
							</td>
							<td width="10%" height="20" bgcolor="#ffffff" class="STYLE10">
								<div align="center">
									<table>
										<s:select list="alarmTypes" label="告警类型" emptyOption="true"
											name="alarmType" />
									</table>
								</div>
							</td>
							<td width="10%" height="20" bgcolor="#ffffff" class="STYLE10">
								<div align="center">
									<table>
										<s:textfield name="alarmBegin" label="告警时间（从）"
											onfocus="setday(this)" />
									</table>
								</div>
							</td>
							<td width="10%" height="20" bgcolor="#ffffff" class="STYLE10">
								<div align="center">
									<table>
										<s:textfield name="alarmEnd" label="告警时间（到）"
											onfocus="setday(this)" />
									</table>
								</div>
							</td>
							<td width="10%" height="20" bgcolor="#ffffff" class="STYLE10">
								<div align="center">
									<table>
										<s:select list="descriptions" label="备注" emptyOption="true"
											name="description" />
									</table>
								</div>
							</td>
							<td width="10%" height="20" bgcolor="#ffffff" class="STYLE10">
								<div align="center">
									<table>
										<s:select list="handleStates" label="处理状态" emptyOption="true"
											name="handleState" />
									</table>
								</div>
							</td>
							<td width="10%" height="20" bgcolor="#ffffff" class="STYLE10">
								<div align="center">
									<table>
										<s:select list="users" label="工作人员" emptyOption="true"
											name="handleUser" />
									</table>
								</div>
							</td>
							<td width="10%" height="20" bgcolor="#ffffff" class="STYLE10">
								<div align="center">
									<table>
										<s:select list="managers" label="管理员" emptyOption="true"
											name="manager" />
									</table>
								</div>
							</td>
							<td width="10%" height="20" bgcolor="#ffffff" class="STYLE10">
								<div align="center">
									<table>
										<s:textfield name="handleTimeBegin" label="处理时间（从）"
											onfocus="setday(this)" />
									</table>
								</div>
							</td>
							<td width="10%" height="20" bgcolor="#ffffff" class="STYLE10">
								<div align="center">
									<table>
										<s:textfield name="handleTimeEnd" label="处理时间（到）"
											onfocus="setday(this)" />
									</table>
								</div>
							</td>
							<td width="10%" height="20" bgcolor="#ffffff" class="STYLE10">
								<div align="center">
									<table>
										<s:submit value="查询" />
									</table>
								</div>
							</td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td>
					<table width="100%" border="0" cellpadding="0" cellspacing="1"
						bgcolor="#a8c7ce">
						<tr>
							<td width="20%" height="20" bgcolor="d3eaef" class="STYLE6">
								<div align="center">
									<span class="STYLE10">区域</span>
								</div>
							</td>
							<td width="20%" height="20" bgcolor="d3eaef" class="STYLE6">
								<div align="center">
									<span class="STYLE10">门禁</span>
								</div>
							</td>
							<td width="20%" height="20" bgcolor="d3eaef" class="STYLE6">
								<div align="center">
									<span class="STYLE10">告警类型</span>
								</div>
							</td>
							<td width="20%" height="20" bgcolor="d3eaef" class="STYLE6">
								<div align="center">
									<span class="STYLE10">告警时间</span>
								</div>
							</td>
							<td width="20%" height="20" bgcolor="d3eaef" class="STYLE6">
								<div align="center">
									<span class="STYLE10">备注</span>
								</div>
							</td>
							<td width="20%" height="20" bgcolor="d3eaef" class="STYLE6">
								<div align="center">
									<span class="STYLE10">处理状态</span>
								</div>
							</td>
							<td width="20%" height="20" bgcolor="d3eaef" class="STYLE6">
								<div align="center">
									<span class="STYLE10">工作人员</span>
								</div>
							</td>
							<td width="20%" height="20" bgcolor="d3eaef" class="STYLE6">
								<div align="center">
									<span class="STYLE10">管理员</span>
								</div>
							</td>
							<td width="20%" height="20" bgcolor="d3eaef" class="STYLE6">
								<div align="center">
									<span class="STYLE10">处理时间</span>
								</div>
							</td>
						</tr>
						
					</table>
				</td>
			</tr>
			<tr>
				<td height="30">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="33%">
								<div align="left">
									<span class="STYLE22">&nbsp;&nbsp;&nbsp;&nbsp;共有<strong><s:property
												value="page.listSize" /> </strong> 条记录，当前第<strong><s:property
												value="page.currentPage" /> </strong> 页，共 <strong><s:property
												value="page.totalPages" /> </strong> 页 </span>
								</div>
							</td>
							<td width="67%">
								<table width="312" border="0" align="right" cellpadding="0"
									cellspacing="0">
									<tr>
										<td width="49">
											<div align="center">
												<a href="report_changePage.action?requestPage=1&map=alarm"><img
														src="images/main_54.gif" width="40" height="15" /> </a>

											</div>
										</td>
										<td width="49">
											<div align="center">
												<a
													href="report_changePage.action?requestPage=<s:property value="page.prePage"/>&map=alarm"><img
														src="images/main_56.gif" width="45" height="15" /> </a>

											</div>
										</td>
										<td width="49">
											<div align="center">
												<a
													href="report_changePage.action?requestPage=<s:property value="page.nextPage"/>&map=alarm"><img
														src="images/main_58.gif" width="45" height="15" /> </a>

											</div>
										</td>
										<td width="49">
											<div align="center">
												<a
													href="report_changePage.action?requestPage=<s:property value="page.totalPages"/>&map=alarm"><img
														src="images/main_60.gif" width="40" height="15" /> </a>

											</div>
										</td>
										<td width="37" class="STYLE22">
											<div align="center">
												转到
											</div>
										</td>
										<td width="22">
											<div align="center">
												<input type="text" name="textfield" id="page_goto"
													style="width: 20px; height: 12px; font-size: 12px; border: solid 1px #7aaebd;" />
											</div>
										</td>
										<td width="22" class="STYLE22">
											<div align="center">
												页
											</div>
										</td>
										<td width="35">
											<img src="images/main_62.gif" width="26" height="15"
												onClick="goto()" />

										</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
	</body>
</html>